package midas.mw.crt.jxta;


import net.jxta.peergroup.PeerGroup;
import net.jxta.platform.NetworkManager;

/**
 * Interface for the configuration of the JXTA module
 *
 */
public interface Configuration {
	
	public static final String CENTRAL_NODES_FILE 	= "conf/CentralNodes.txt";
		
	public static final String MIDAS_GROUP_ID 	= "urn:jxta:uuid-0AF9A67371F841F8B6248C6A9B9120B502";
    
	/**
	 * Starts the JXTA module
	 * 
	 * @param name MIDAS node identifier
	 * @param principal Credential for security establishing and communicating 
	 * 						identity within JXTA
	 * @param password Password for the personal security environment
	 * @param ID The JXTA unique identifier
	 */
	public NetworkManager startJxta(String name, String principal, String password, String ID, String publicIPAddress);
}
